package com.nxj.service.impl;

import com.nxj.annotations.MyService;
import com.nxj.service.HelloService;

@MyService("hlloService")
public class HelloServiceImpl implements HelloService {

    @Override
    public String doHello(String name) {
        System.out.println("Hello world: " + name);
        return name;
    }

    @Override
    public void doHello() {
        System.out.println("Hello world");
    }
}
